﻿using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BrnMall.CacheManager
{
    public class NoCacheStrategy:ICacheStrategy
    {
        public string Name => "NoCache";
        public int TimeOut { get; set; }
        public T Get<T>(string key)
        {
            return default(T);
        }

        public void Remove(string key)
        {
            
        }

        public void Clear()
        {
            
        }

        public void Insert<T>(string key, T data)
        {
            
        }

        public void Insert<T>(string key, T data, int cacheTime)
        {
           
        }

        

        public bool Exists(string key)
        {
            
            return false;
        }
    }
}
